#ifndef _COMPONENT_H_
#define _COMPONENT_H_

#include <iostream>

class Component {
public:
    virtual void Operation() = 0;
};

class ConcreteComponent : public Component {
public:
    void Operation() override{
        std::cout << "具体的操作对象" << std::endl;
    }
};

#endif